package com.voxel.sense.infomsg.module.user.staff;

import com.example.com.common.app.BaseContract;
import com.voxel.sense.infomsg.data.bean.ConditionBean;

import java.util.List;

import cyy.example.com.facotry.model.api.response.StaffEntity;

/**
 * Created by ChenYiYao on 2018/7/26.
 */
public interface StaffContract {

    interface Presenter extends BaseContract.Presenter {

        void doSearchCondition();

        /**
         * 请求数据
         */
        void doLoadData();

        /**
         * 再起请求数据
         */
        void doLoadMoreData();

        /**
         * 添加查询条件
         */
        void putSearTarget(String type, String value);

        /**
         * 移除查询条件
         */
        void removeSearchData(String type, String value);

        /**
         * 清除筛选条件
         */
        void doResetCondition(String type);


    }

    interface View extends BaseContract.RecyclerView<Presenter, StaffEntity.SysUserListBean> {
        void onRefreshMenu(List<ConditionBean> userType, List<ConditionBean> actor);


    }

}
